[USER (data scientist)]: And how about employment status and loan duration? Please generate a Series summarizing the average loan duration for each employment status.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd 
from sklearn.preprocessing import LabelEncoder
import pickle
 
# Load the dataset 
credit_customers = pd.read_csv("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
<code1>
[COMPLETE YOUR CODE] 
</code1>
# YOUR SOLUTION END

# Print the relationship 
print("\nRelationship between employment status and loan duration:\n", employment_duration_relationship) 

# save data
pickle.dump(employment_duration_relationship, open("./pred_result/employment_duration_relationship.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: You got it! Here's the code to analyze the relationship between employment status and loan duration:
'''
import pandas as pd 
from sklearn.preprocessing import LabelEncoder
import pickle
 
# Load the dataset 
credit_customers = pd.read_csv("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
